package pyf.example.docker.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author pengyifeng
 * @version 5.0
 * @ClassName TestController.java
 * @Description TODO
 * @createTime 2021年07月06日 16:05:00
 */
@RestController
public class TestController {
    @Value("${vo}")
    private String str;
    @GetMapping("/test")
    public String test(){
        return str;
    }
}
